package design.mode.model.builder.common;

import design.mode.model.builder.product.type.Bike;

/**
 * @author ldanniel
 * @description
 * @date 2023/21/20:30
 * @since jdk11
 */
public abstract class Builder {
    //聚合Bike类型变量，并进行赋值
    protected Bike bike = new Bike();

    public abstract void buildFrame();

    public abstract void buildSeat();

    /**
     * 造车
     *
     * @return 车
     */
    public abstract Bike createBike();

}
